NDepend.API Documentation
EndsWithAny(String,String[]) Method
NDepend.Helpers Namespace > ExtensionMethodsString Class > EndsWithAny Method : EndsWithAny(String,String[]) Method
This string.
An array containing possible end strings for thisString.
Gets a value indicating whether this string ends with case sensitive any of the strings in array.
Syntax
[Extension()]
public static bool EndsWithAny( 
   string thisString,
   params string[] array
)

Parameters

thisString
This string.
array
An array containing possible end strings for thisString.
Exceptions
ExceptionDescription
null string reference in array not accepted.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsString Class
ExtensionMethodsString Members
Overload List